import { createRouter, createWebHistory  } from 'vue-router'
//引入HomeMAin
// import HomeMain from '@/components/HomeMain.vue'
import UserLogin from '@/components/UserLogin.vue'
// import ActivationPage from '@/components/ActivationPage.vue'
// import MenuPage from '@/components/MenuPage.vue'
// import InfomationEntry from '@/components/InformationEntry.vue'
// import UploadFilePage from  '@/components/upload/UploadFilePage.vue'
// import AppMain from '@/components/AppMain.vue'

// import AppMain2 from '@/components/AppMain2.vue'
// import HomePage from '@/components/homepage/HomePage.vue'

const route = [
  // {
  //   path: '/',
  //   name: 'Home',
  //   component: HomeMain
  // },
  // {
  //   path: '/',
  //   name: 'AppMain',
  //   component: AppMain
  // },
  // {
  //   path: '/',
  //   name: 'AppMain2',
  //   component: AppMain2
  // },
  {
    path: '/login',
    name: 'UserLogin',
    component: UserLogin
  },
  // {
  //   path: '/activation',
  //   name: 'ActivationPage',
  //   component: ActivationPage
  // },
  // {
  //   path: '/menu',
  //   name: 'MenuPage',
  //   component: MenuPage
  // },
  // {
  //   path: '/infomationentry',
  //   name: 'InfomationEntryPage',
  //   component: InfomationEntry
  // },
  // {
  //   path: '/uploadfile',
  //   name: 'UploadFilePage',
  //   component: UploadFilePage
  // }

  // ,
  // {
  //   path: '/HomePage',
  //   name: 'HomePage',
  //   component: HomePage
  // }
]

const router = createRouter({
  history: createWebHistory (),
  routes: route
})

export default router
